// import { MAINROUTE } from 'qiankun-component/dist';
// MAINROUTE
export const MAINROUTEDATA: any[] = [
  {
    path: 'customer',
    project: 'customer',
    childrens: [
      {
        path: 'crm-list',
        module: 'SellCrmModule',
        childrens: [
          {
            path: 'list',
            page: 'CrmListComponent',
          },
          {
            path: 'add',
            page: 'CrmAddComponent',
          },
        ],
      },
      {
        path: 'list',
        project: 'customer',
        page: 'CustomerListComponent',
      },
      {
        path: 'add',
        project: 'customer',
        page: 'CustomerAddComponent',
      },
      {
        path: 'detail',
        project: 'customer',
        page: 'CustomerDetailComponent',
        childrens: [
          {
            path: 'list',
            component: [
              {
                project: 'business',
                page: 'BusinessListComponent',
              },
            ],
          },
        ],
      },
    ],
  },
  {
    path: 'business',
    project: 'business',
    childrens: [
      {
        path: 'list',
        project: 'business',
        page: 'BusinessListComponent',
      },
    ],
  },
];
